let arrnum: number[] = [1, 2, 3, 4, 5];
let arrstr: string[] = ['1', '2', '3'];

let arrnum2: Array<number> = [1, 2, 3, 4, 5];

interface NumberArray {
    [index: number]: number;
}

let numarr: NumberArray = [1, 2, 3, 4, 5]

// 类数组怎么定义
// function sum() {
//     let arg: {
//         [index:number]:number,
//         length:number,
//     } = arguments;
// }

function sum() {
    let args: IArguments = arguments;
    // NodeList
    // HTMLAllCollection
}


let list: any[] = [1, "123", {}]















